package Zhang2;

import java.io.*;

public class ReaderZhang2 {
    public static void main(String[] args) throws  Exception{
        File file = new File("H:" + File.separator + "muyan" + File.separator + "vip" + File.separator + "yootk.txt");
        if (file.exists()) {
            try (Reader in = new FileReader(file)) {
                char data[] = new char[1024];
                int len = in.read(data);
                System.out.println(new String(data,0,len));
            }catch (Exception e){}
        }
    }
}
